Two methos of color quantization are implemented. The fast
one the octree algorithm, whcih
incidently also uses less memoery. The other method
is the median cut algorithm[#!quant-mediancut!#].
Both of the quantuzation method is followd by a
Floyd-Steinberg dithering step[#!dither-summary!#].